import request from '@/utils/request'

//获取总金额
export function todayTotalPrice() {
  return request({
    url: '/scancode/orderMaster/findNDTPrice',
    method: 'get'
  })
}
//获取全部金额
export function totalPrice() {
  return request({
    url: '/scancode/orderMaster/findTotalPrice',
    method: 'get'
  })
}
//获取全部菜品
export function totalFood() {
  return request({
    url: '/scancode/food/list',
    method: 'get'
  })
}
//获取商家信息
export function businessMsg() {
  return request({
    url: '/scancode/business/list',
    method: 'get'
  })
}
//获取上架菜品
export function putWay() {
  return request({
    url: '/scancode/food/findStatus',
    method: 'get'
  })
}
//获取交易总笔数
export function tradenum() {
  return request({
    url: '/scancode/orderMaster/findTradeNum',
    method: 'get'
  })
}
//获取好评率最高的
export function goodReputation() {
  return request({
    url: '/scancode/specifications/findTopFood',
    method: 'get'
  })
}
